package com.achobeta.recruitment.service.student;

import ch.qos.logback.core.pattern.color.BoldYellowCompositeConverter;
import com.achobeta.recruitment.model.State;
import com.achobeta.recruitment.model.Student;
import com.achobeta.recruitment.model.StudentInfoWithBLOBs;
import com.achobeta.recruitment.model.vo.StudentVO;
import org.springframework.transaction.annotation.Transactional;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 马拉圈
 * Date: 2023-10-30
 * Time: 22:25
 */
public interface StudentService {


    /**
     * 创建student对象
     * @param openid
     */
    void initStudent(String openid, Integer manageRemarkId);


    /**
     * 获取状态表
     * @return
     */
    List<String> getStateList();

    /**
     * 获取附带学生信息的学生列表
     * @return
     */
    List<StudentVO> getStudentList();


    void updateState(String openid, Byte state);


    /**
     * 根据openid查询学生表
     * @return
     */
    Student selectStudentByOpenid(String openid);


}
